
package gs.eisenhower.swallet.dao;

import gs.eisenhower.swallet.model.Entity;
import android.database.sqlite.SQLiteDatabase;

public interface GenericDao {
	
	/**
	 * Inserts new entity
	 * 
	 * @param <T extends Wallet> Type of Entity or a subtype of Entity.
	 */
	public <T extends Entity> void create(T entity);
	
    /**
     * @return
     */
    public SQLiteDatabase open();
    
    /**
     * 
     */
    public void close();
    
}
